package net.framework.smc.docker.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @authore zyx
 * @date 2018/7/18 16:31
 */
@org.springframework.web.bind.annotation.RestController
public class RestController {

    @RequestMapping("/hello/{type}")
    public String hello(@PathVariable("type") String type){
        return "hello, welcome" + type;
    }
}
